<?php
namespace app\common\lib;

class Key {
    public static function userCart($userId) {
        /**
         * 记录用户购物车的redis key
         */
        return config('redis.cart_pre').$userId;
    }
}